package ${BasePackageName}${ServicePackageName};

import ${BasePackageName}${DaoPackageName}.${ClassName}Mapper;
${InterfaceImport}
import ${EntityPackageName}.${ClassName};
import IBaseMapper;
import BaseServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import com.wust.smartcity.common.dto.ResponseDto;

/**
 * @author: ${Author}
 * @date: ${DateTime}
 * @description:
 */
@Service("${EntityNameForCamelCase}ServiceImpl")
public class ${ClassName}ServiceImpl extends BaseServiceImpl<${ClassName}> implements ${ClassName}Service{
    @Autowired
    private ${ClassName}Mapper ${EntityNameForCamelCase}Mapper;

    @Override
    protected IBaseMapper getBaseMapper() {
        return ${EntityNameForCamelCase}Mapper;
    }


    @Transactional(rollbackFor=Exception.class)
    @Override
    public ResponseDto create(Object obj) {
        ResponseDto responseDto = new ResponseDto();
        return responseDto;
    }


    @Transactional(rollbackFor=Exception.class)
    @Override
    public ResponseDto update(Object obj) {
        ResponseDto responseDto = new ResponseDto();
        return responseDto;
    }

    @Transactional(rollbackFor=Exception.class)
    @Override
    public ResponseDto delete(Object obj) {
        ResponseDto responseDto = new ResponseDto();
        return responseDto;
    }
}
